Zum Hauptinhalt springen
Version: 6.3

Approval Service

Dieser Service definiert Methoden zur Verwaltung von Vertretungen und Genehmigungen für Arbeits- und Projektzeiten.

GetOpenApprovalCountForIdentity

Diese Methode liefert die Anzahl der offenen Genehmigungen für Arbeits- und Projektzeiten der aktuellen Identität.

List<ApprovalPanelsInformationDto> GetOpenApprovalCountForIdentity(
out TpFault fault,
TpAuthentication authentication);
Needed Permissionapproval@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
return valueList containing the number of open approvals.

GetOpenProjectTimeApprovalsForIdentity

Diese Methode liefert die offenen Genehmigungen für Projektzeiten der aktuellen Identität.

List<ProjectTimeApprovalItemDto> GetOpenProjectTimeApprovalsForIdentity(
out TpFault fault,
TpAuthentication authentication);
Needed Permissionapproval@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
return valueList containing the open project time approvals.

GetOpenWorkTimeApprovalsForIdentity

Diese Methode liefert die offenen Genehmigungen für Arbeitszeiten der aktuellen Identität und Organisationseinheit.

List<WorkTimeApprovalItemDto> GetOpenWorkTimeApprovalsForIdentity(
out TpFault fault,
TpAuthentication authentication,
Guid selectedOrgaUnitId);
Needed Permissionapproval@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
selectedOrgaUnitIdID of the selected organization unit.
return valueList containing the open work time approvals.

GetCoverPersons

Diese Methode liefert die Vertretungspersonen für die angegebenen Benutzer und den angegebenen Ursprung der Genehmigungsanfrage.

List<CoverPersonDto> GetCoverPersons(
out TpFault fault,
TpAuthentication authentication,
List<Guid> userIds,
ApprovalOrigin origin);
Needed Permissionapproval@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
userIdsList of user IDs.
originOrigin of the approval request.
return valueList containing the cover persons.

GetAvailableCoverPersonForIdentity

Diese Methode liefert die verfügbaren Vertretungspersonen für die aktuelle Identität.

List<CoverPersonDto> GetAvailableCoverPersonForIdentity(
out TpFault fault,
TpAuthentication authentication);
Needed Permissionapproval@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
return valueList containing the available cover persons.

SaveCoverPersons

Diese Methode speichert die Vertretungspersonen.

List<CoverPersonDto> SaveCoverPersons(
out TpFault fault,
TpAuthentication authentication,
List<CoverPersonSaveDto> coverPersons);
Needed Permissionapproval@manage
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
coverPersonsCover persons to save.
return valueList containing the saved cover persons.

DeleteCoverPersons

Diese Methode löscht Vertretungspersonen für die angegebenen Benutzer.

void DeleteCoverPersons(
out TpFault fault,
TpAuthentication authentication,
List<Guid> approverIds,
ApprovalOrigin origin);
Needed Permissionapproval@manage
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
approverIdsIDs of the users whose cover persons shall be deleted.
originOrigin of the approval request.

GetApprovers

Diese Methode liefert alle Genehmigenden für die angegebenen Benutzer und den angegebenen Ursprung.

List<ApproverDto> GetApprovers(
out TpFault fault,
TpAuthentication authentication,
List<Guid> userIds,
ApprovalOrigin origin);
Needed Permissionapproval@access
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
userIdsList of user IDs for which approvers shall be retrieved.
originOrigin of the approval request.
return valueList containing the approvers.

SaveApprover

Diese Methode speichert einen Genehmigenden.

ApproverDto SaveApprover(
out TpFault fault,
TpAuthentication authentication,
ApproverSaveDto approver);
Needed Permissionapproval@manage
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
approverApprover to save.
return valueThe saved approver.

DeleteApprovers

Diese Methode löscht die Genehmigenden für die angegebenen Benutzer.

void DeleteApprovers(
out TpFault fault,
TpAuthentication authentication,
List<Guid> userIds,
ApprovalOrigin origin);
Needed Permissionapproval@manage
NameModifierDescription
faultOutContains the error if an exception occurs.
authenticationUser authentication
userIdsList of user IDs for which approvers shall be deleted.
originOrigin of the approval request.

Sanity

Diese Methode liefert einen Zeitstempel des Servers zurück. Er kann zur Berechnung der Roundtrip-Zeit und zur Prüfung der Dienstverfügbarkeit verwendet werden.

DateTime Sanity(
out TpFault fault);
Needed Permission---
NameModifierDescription
faultOutContains the error if an exception occurs.
return valueServer timestamp when the message was received.